package com.zhuss.enums;

import java.util.List;

/**
 * @author summer
 * @date 2020/12/31 15:26
 */
public enum TakeType implements BaseEnum {

    可上车(10,"可上车",""),
    可下车(20,"可下车",""),
    不限(30,"不限",""),
    ;


    Integer key;

    String value;

    String tag;

    TakeType(int key,String value,String tag) {
        this.key = key;
        this.value = value;
        this.tag = tag;
    }


    public Boolean sameKey(Integer key) {
        return this.key.equals(key);
    }

    public Integer key() {
        return key;
    }

    public String value() {
        return value;
    }

    public String tag() {
        return tag;
    }

    public String data() {
        return value;
    }

    @Override
    public List<Integer> removeIdList() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Boolean sameValue(String value) {
        return this.value.equals(value);
    }
}
